import request from '@/utils/v2/request';
import { tansParams } from "@/utils/v2/ruoyi";
//校对总览
class proofreadOverviewAPI {
  //检测数字概览
  checkCountDetail(){
    return request.post('/police/xunfei/checkCountDetail');
  }
  //各错误等级走势
  checkLevelGroupDetail(params){
    return request.post('/police/xunfei/checkLevelGroupDetail', params);
  }
  //错敏信息问题类型
  checkNameGroupDetail(params){
    return request.post('/police/xunfei/checkNameGroupDetail', params);
  }
  //获取历史记录
  getHistoryList(params){
    return request.get('/police/statistics/list?'+ tansParams(params));
  }
  //修改历史记录状态
  updateHistory(params){
    return request.put('/police/statistics', params);
  }
}
export const ProofreadOverviewAPI = new proofreadOverviewAPI();
